using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;

namespace SimplePoker.Main
{
    public class BasicPlayer : PlayerBase
    {
        public BasicPlayer(string name)
            : base(name)
        {

        }

        public override PlayerAction GetAction()
        {
            if (Card.Rank > 9)
                return PlayerAction.BET;
            else if (Card.Rank > 6)
                return PlayerAction.CALL;

            return PlayerAction.FOLD;
        }

        public override void NotifyOpponentsAction(PlayerAction action)
        {

        }

        public override void ShowOpponentsCard(Card card)
        {
        }

        public override void NotifyNewHand()
        {
        }
    }
}
